package com.zhoushihao.class0806;

import java.util.Arrays;
import java.util.Scanner;

public class CountStat {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        int[] num = new int[26];
        for (int i = 0; i < str.length(); i++) {
            num[str.charAt(i)-'a']++;
        }
        System.out.println(Arrays.toString(num));
        for (int i = 0; i < num.length; i++) {
            System.out.println((char)(i+'a')+":"+num[i]);
        }
    }
}
